﻿#region

using System.Data.Entity.ModelConfiguration;
using HouseHoldBudget.Core.Entities.Expenses;

#endregion

namespace HouseHoldBudget.Data.Mapping.Expenses
{
    public class ExpenseTypeMap : EntityTypeConfiguration<ExpenseType>
    {
        #region Constructors

        public ExpenseTypeMap()
        {
            ToTable("ExpenseType");

            HasKey(c => c.Id);

            Property(u => u.ExpenseTypeName);
        }

        #endregion
    }
}